﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title></title>
</head>
<body>
    <script>
        var str = "That's hot!";
        var patt1 = /h.t/g;
        document.write(str.match(patt1));
    </script>
</body>
</html>